package com.yxq.mdt.app.modules.goodsdetail.bean;

import java.util.List;

/**
 * @author L
 * @time 2019-10-28
 * @describe 商品详情$
 */
public class GoodsDetailBean {

    @Override
    public String toString() {
        return "GoodsDetailBean{" +
                "id=" + id +
                ", attr=" + attr +
                ", is_negotiable=" + is_negotiable +
                ", max_price=" + max_price +
                ", min_price=" + min_price +
                ", name='" + name + '\'' +
                ", cat_id='" + cat_id + '\'' +
                ", price=" + price +
                ", detail='" + detail + '\'' +
                ", sales_volume=" + sales_volume +
                ", num=" + num +
                ", is_favorite=" + is_favorite +
                ", original_price='" + original_price + '\'' +
                ", video_url='" + video_url + '\'' +
                ", unit='" + unit + '\'' +
                ", use_attr=" + use_attr +
                ", mch=" + mch +
                ", max_share_price='" + max_share_price + '\'' +
                ", min_member_price='" + min_member_price + '\'' +
                ", is_share=" + is_share +
                ", is_level=" + is_level +
                ", is_member_price=" + is_member_price +
                ", pic_list=" + pic_list +
                ", attr_group_list=" + attr_group_list +
                ", service_list=" + service_list +
                '}';
    }

    /**
     * id : 59
     * pic_list : [{"pic_url":"http://yxqoss.oss-cn-hangzhou.aliyuncs.com/web/uploads/image/store_1/38eed77a28701b289ea4fa59e0d58a5b36762d94.jpg"}]
     * attr : [{"attr_list":[{"attr_id":2,"attr_name":"红色"}],"num":99,"price":10,"no":"1111","pic":"http://yxqoss.oss-cn-hangzhou.aliyuncs.com/web/uploads/image/store_1/b8c43c5ec5befbf2a66dee21fa256b48717a113b.png","share_commission_first":"","share_commission_second":"","share_commission_third":"","member0":"","member1":"","member2":"","member3":""},{"attr_list":[{"attr_id":3,"attr_name":"白色"}],"num":97,"price":20,"no":"222","pic":"http://yxqoss.oss-cn-hangzhou.aliyuncs.com/web/uploads/image/store_1/888013b0b49e7948c36812cae6969d0918d27b55.png","share_commission_first":"","share_commission_second":"","share_commission_third":"","member0":"","member1":"","member2":"","member3":""}]
     * is_negotiable : 0
     * max_price : 20.00
     * min_price : 10.00
     * name : 测试商品
     * cat_id : 0
     * price : 48.00
     * detail : <div class="attributes" style="margin: 0px; padding: 0px; color: rgb(64, 64, 64); font-family: tahoma, arial, 微软雅黑, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);"><div class="attributes-list" style="margin: 0px 0px 10px; padding: 0px; clear: both; border-right: 1px solid rgb(230, 230, 230); border-bottom: 1px solid rgb(230, 230, 230); border-left: 1px solid rgb(230, 230, 230); border-image: initial; border-top: none;"><div class="tm-clear tb-hidden tm_brandAttr" style="margin: 0px; padding: 8px 20px 10px; border-top: 1px solid rgb(230, 230, 230); height: 40px; line-height: 40px;"><div class="name" style="margin: 0px 15px 0px 0px; padding: 0px; color: rgb(102, 102, 102); float: left;">品牌名称：<span class="J_EbrandLogo" style="margin: 0px; padding: 0px; color: rgb(51, 51, 51);">Durex/杜蕾斯</span></div></div><p class="attr-list-hd tm-clear" style="margin-top: 0px; margin-bottom: 0px; padding: 5px 20px; line-height: 22px; color: rgb(153, 153, 153);"><span style="margin: 0px; padding: 0px; font-weight: 700; float: left;">产品参数：</span></p><ul style="list-style-CharacterTypeHelper: none;" class=" list-paddingleft-2"><li><p>品牌:&nbsp;Durex/杜蕾斯</p></li><li><p>避孕套规格:&nbsp;其它规格</p></li><li><p>产地:&nbsp;大陆</p></li><li><p>颜色:&nbsp;其它颜色　</p></li><li><p>颜色分类:&nbsp;活动套餐【30只】经典四合一24+螺纹2*2+杜杜2&nbsp;新手入门【16只】活力装12+螺纹装2*2&nbsp;凸点螺纹【22只】凸点螺纹12+螺纹2*3+杜杜4&nbsp;激爽超值【38只】激爽四合一32+螺纹2*2+杜杜2&nbsp;冰火颗粒【30只】冰火魔盒18+螺纹2*3+杜杜6&nbsp;金装超薄【26只】超薄三合一18+超薄2*2+送杜杜4&nbsp;钜惠礼盒【50只】超薄八合一44+超薄4+螺纹2&nbsp;持久型男【14只】持久装8+持久装2+送杜杜4&nbsp;颗粒持久【14只】凸点螺纹持久8+持久2+送杜杜4&nbsp;AiR 空气【22只】AiR三合一16+润薄2+AiR2+送杜杜2&nbsp;10种玩法【52只】冰火18+四合一24+螺纹2*2+润薄2+杜杜4&nbsp;【超值100只】礼盒44+激爽32+love10+超薄4+螺纹2+杜杜8&nbsp;【高端系列70只】AiR系列18+超薄金系列26+冰火颗粒系列26&nbsp;【体验套餐】杜蕾斯螺纹2+随机2+湿巾</p></li><li><p>保质期:&nbsp;5年</p></li><li><p>安全套械（X）字号:&nbsp;鲁械注准20162660063</p></li><li><p>材质成分:&nbsp;胶乳</p></li><li><p>安全套 标称大小:&nbsp;中号（直径33MM，宽度52±2MM）</p></li><li><p>安全套 厚薄:&nbsp;超薄型</p></li><li><p>安全套 外观形状:&nbsp;大颗粒</p></li><li><p>安全套 功能特点:&nbsp;硅油润滑</p></li><li><p>成人用品 香味:&nbsp;其他</p></li><li><p>生产企业:&nbsp;青岛伦敦杜蕾斯有限公司</p></li><li><p>产品标准:&nbsp;GB7544</p></li><li><p>产品名称:&nbsp;杜蕾斯凸点螺纹装</p></li></ul></div><div class="attr-alert" style="margin: 0px 0px 10px; padding: 0px 20px; background-size: 100% 100%; line-height: 40px; background-color: rgb(255, 248, 245); background-repeat: no-repeat; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgb(127, 25, 17); border: 1px solid rgb(251, 245, 243); background-image: url("><div style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-weight: 700; line-height: 40px;">消费提醒：</span><span class="Apple-converted-space">&nbsp;</span><span style="margin: 0px; padding: 0px; line-height: 40px;">请仔细阅读产品说明书、禁忌内容、注意事项等内容或在医务人员指导下购买和使用，将产品置于儿童无法触及位置。</span></div></div></div><div style="margin: 0px; padding: 0px; color: rgb(64, 64, 64); font-family: tahoma, arial, 微软雅黑, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);"><div style="margin: 0px; padding: 0px;"></div><div style="margin: 0px; padding: 0px;"></div></div><div style="margin: 0px; padding: 0px; color: rgb(64, 64, 64); font-family: tahoma, arial, 微软雅黑, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);"></div><div style="margin: 0px; padding: 0px; width: 790px; position: relative; overflow: hidden; color: rgb(64, 64, 64); font-family: tahoma, arial, 微软雅黑, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);"></div><div class="J_DetailSection tshop-psm tshop-psm-bdetaildes" style="margin: 0px; padding: 0px; width: auto; color: rgb(64, 64, 64); font-family: tahoma, arial, 微软雅黑, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);"><div class="content ke-post" style="margin: 10px 0px 0px; padding: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: 1.5; font-family: tahoma, arial, 宋体, sans-serif; width: 790px; overflow: hidden; height: auto;"><p style="margin-top: 1.12em; margin-bottom: 1.12em; padding: 0px; line-height: 1.4;"><img src="https://img.alicdn.com/imgextra/i4/2863858629/O1CN01jrEnjP2Dc8CeMGhlp_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i1/2863858629/O1CN01uDXKHc2Dc8CDoZoVS_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i2/2863858629/O1CN018Qzp0a2Dc8CcFE9fw_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i4/2863858629/O1CN01AMgQHY2Dc8CaqLC86_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i1/2863858629/O1CN01d762OU2Dc8Cc79rdy_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i4/2863858629/O1CN01C6EFJf2Dc8CNvfGBD_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i3/2863858629/O1CN01H5jX6v2Dc8CLQU4oB_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i3/2863858629/O1CN01WdBnLw2Dc8CTG2N2x_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i4/2863858629/O1CN01Z13SPd2Dc8CawLTPu_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i2/2863858629/O1CN01gMqbhx2Dc8CTGgaTp_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i3/2863858629/O1CN01jz6gti2Dc8CLRYL8y_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i4/2863858629/O1CN01vPJtFj2Dc8CMfGFvQ_!!2863858629.jpg" class="img-ks-lazyload"/><img src="https://img.alicdn.com/imgextra/i3/2863858629/O1CN01woEVnI2Dc8CNNIgGl_!!2863858629.jpg" class="img-ks-lazyload"/></p></div></div><div style="margin: 0px; padding: 0px; width: 790px; position: relative; overflow: hidden; color: rgb(64, 64, 64); font-family: tahoma, arial, 微软雅黑, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);"><div class="J_DcAsyn tb-shop" style="margin: 0px; padding: 0px;"><div class="J_TModule" style="margin: 0px; padding: 0px;"><div class="skin-box tb-module tshop-pbsm tshop-pbsm-shop-self-defined" style="margin: 0px 0px 10px; padding: 0px;"><span style="text-decoration:line-through;"><strong style="margin: 0px; padding: 0px;"></strong></span><div class="skin-box-hd" style="margin: 0px 0px 5px; padding: 0px 10px; border-width: 0px; border-color: rgb(213, 213, 213) rgb(213, 213, 213) rgb(221, 221, 221); border-style: solid; background: none 0px 0px no-repeat rgb(0, 0, 0); color: rgb(255, 255, 255); border-radius: 2px; height: 25px; line-height: 25px;"><h3 style="margin: 0px; padding: 0px; font-size: 14px; font-family: "><span style="margin: 0px; padding: 0px; border-bottom: 0px solid rgb(102, 102, 102); display: inline-block; font-size: 12px; color: rgb(102, 102, 102);">自定义内容区</span></h3></div><div class="skin-box-bd clear-fix" style="margin: 0px; padding: 0px; border-color: rgb(229, 229, 229); border-width: 0px; border-style: solid; background-image: none; background-position: 0px 0px; background-size: initial; background-repeat: no-repeat; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(41, 83, 166); line-height: 1.2; overflow: hidden; width: 790px;"><span style="margin: 0px; padding: 0px;"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.4;"><img src="https://gdp.alicdn.com/imgextra/i3/2863858629/O1CN01Wm3g6A2Dc89hMxgwO_!!2863858629.jpg" alt="" class="img-ks-lazyload"/></p></span></div></div></div></div></div><p><br/></p>
     * sales_volume : 21
     * attr_group_list : [{"attr_group_id":2,"attr_group_name":"颜色","attr_list":[{"attr_id":2,"attr_name":"红色"},{"attr_id":3,"attr_name":"白色"}]}]
     * num : 196
     * is_favorite : 0
     * service_list : ["正品保障","极速发货","7天退换货"]
     * original_price : 48.00
     * video_url :
     * unit : 件
     * use_attr : 1
     * mch : null
     * max_share_price : 1.00
     * min_member_price : 0.00
     * is_share : true
     * is_level : false
     * is_member_price : false
     */

    private long id;
    private List<AttrBean> attr;
    private int is_negotiable;
    private String max_price;
    private String min_price;
    private String name;
    private String cat_id;
    private float price;
    private String detail;
    private long sales_volume;
    private int num;
    private int is_favorite;
    private String original_price;
    private String video_url;
    private String unit;
    private int use_attr;
    private Object mch;
    private String max_share_price;
    private String min_member_price;
    private boolean is_share;
    private boolean is_level;
    private boolean is_member_price;
    private List<PicListBean> pic_list;
    private List<AttrGroupListBean> attr_group_list;
    private List<String> service_list;

    public static class AttrBean {


        /**
         * attr_list : [{"attr_id":2,"attr_name":"红色"}]
         * num : 98
         * price : 10
         * no : 1111
         * pic : http://yxqoss.oss-cn-hangzhou.aliyuncs.com/web/uploads/image/store_1/b8c43c5ec5befbf2a66dee21fa256b48717a113b.png
         * share_commission_first :
         * share_commission_second :
         * share_commission_third :
         * member0 :
         * member1 :
         * member2 :
         * member3 :
         */

        private int num;
        private float price;
        private String no;
        private String pic;
        private String share_commission_first;
        private String share_commission_second;
        private String share_commission_third;
        private String member0;
        private String member1;
        private String member2;
        private String member3;
        private List<AttrListBean> attr_list;

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public float getPrice() {
            return price;
        }

        public void setPrice(float price) {
            this.price = price;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getShare_commission_first() {
            return share_commission_first;
        }

        public void setShare_commission_first(String share_commission_first) {
            this.share_commission_first = share_commission_first;
        }

        public String getShare_commission_second() {
            return share_commission_second;
        }

        public void setShare_commission_second(String share_commission_second) {
            this.share_commission_second = share_commission_second;
        }

        public String getShare_commission_third() {
            return share_commission_third;
        }

        public void setShare_commission_third(String share_commission_third) {
            this.share_commission_third = share_commission_third;
        }

        public String getMember0() {
            return member0;
        }

        public void setMember0(String member0) {
            this.member0 = member0;
        }

        public String getMember1() {
            return member1;
        }

        public void setMember1(String member1) {
            this.member1 = member1;
        }

        public String getMember2() {
            return member2;
        }

        public void setMember2(String member2) {
            this.member2 = member2;
        }

        public String getMember3() {
            return member3;
        }

        public void setMember3(String member3) {
            this.member3 = member3;
        }

        public List<AttrListBean> getAttr_list() {
            return attr_list;
        }

        public void setAttr_list(List<AttrListBean> attr_list) {
            this.attr_list = attr_list;
        }

        public static class AttrListBean {
            /**
             * attr_id : 2
             * attr_name : 红色
             */

            private int attr_id;
            private String attr_name;

            public int getAttr_id() {
                return attr_id;
            }

            public void setAttr_id(int attr_id) {
                this.attr_id = attr_id;
            }

            public String getAttr_name() {
                return attr_name;
            }

            public void setAttr_name(String attr_name) {
                this.attr_name = attr_name;
            }
        }
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public List<AttrBean> getAttr() {
        return attr;
    }

    public void setAttr(List<AttrBean> attr) {
        this.attr = attr;
    }

    public int getIs_negotiable() {
        return is_negotiable;
    }

    public void setIs_negotiable(int is_negotiable) {
        this.is_negotiable = is_negotiable;
    }

    public String getMax_price() {
        return max_price;
    }

    public void setMax_price(String max_price) {
        this.max_price = max_price;
    }

    public String getMin_price() {
        return min_price;
    }

    public void setMin_price(String min_price) {
        this.min_price = min_price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCat_id() {
        return cat_id;
    }

    public void setCat_id(String cat_id) {
        this.cat_id = cat_id;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public long getSales_volume() {
        return sales_volume;
    }

    public void setSales_volume(long sales_volume) {
        this.sales_volume = sales_volume;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getIs_favorite() {
        return is_favorite;
    }

    public void setIs_favorite(int is_favorite) {
        this.is_favorite = is_favorite;
    }

    public String getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(String original_price) {
        this.original_price = original_price;
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getUse_attr() {
        return use_attr;
    }

    public void setUse_attr(int use_attr) {
        this.use_attr = use_attr;
    }

    public Object getMch() {
        return mch;
    }

    public void setMch(Object mch) {
        this.mch = mch;
    }

    public String getMax_share_price() {
        return max_share_price;
    }

    public void setMax_share_price(String max_share_price) {
        this.max_share_price = max_share_price;
    }

    public String getMin_member_price() {
        return min_member_price;
    }

    public void setMin_member_price(String min_member_price) {
        this.min_member_price = min_member_price;
    }

    public boolean isIs_share() {
        return is_share;
    }

    public void setIs_share(boolean is_share) {
        this.is_share = is_share;
    }

    public boolean isIs_level() {
        return is_level;
    }

    public void setIs_level(boolean is_level) {
        this.is_level = is_level;
    }

    public boolean isIs_member_price() {
        return is_member_price;
    }

    public void setIs_member_price(boolean is_member_price) {
        this.is_member_price = is_member_price;
    }

    public List<PicListBean> getPic_list() {
        return pic_list;
    }

    public void setPic_list(List<PicListBean> pic_list) {
        this.pic_list = pic_list;
    }

    public List<AttrGroupListBean> getAttr_group_list() {
        return attr_group_list;
    }

    public void setAttr_group_list(List<AttrGroupListBean> attr_group_list) {
        this.attr_group_list = attr_group_list;
    }

    public List<String> getService_list() {
        return service_list;
    }

    public void setService_list(List<String> service_list) {
        this.service_list = service_list;
    }

    public static class PicListBean {
        /**
         * pic_url : http://yxqoss.oss-cn-hangzhou.aliyuncs.com/web/uploads/image/store_1/38eed77a28701b289ea4fa59e0d58a5b36762d94.jpg
         */

        private String pic_url;

        public String getPic_url() {
            return pic_url;
        }

        public void setPic_url(String pic_url) {
            this.pic_url = pic_url;
        }
    }

    public static class AttrGroupListBean {
        /**
         * attr_group_id : 2
         * attr_group_name : 颜色
         * attr_list : [{"attr_id":2,"attr_name":"红色"},{"attr_id":3,"attr_name":"白色"}]
         */

        private int attr_group_id;
        private String attr_group_name;
        private List<AttrListBean> attr_list;

        public int getAttr_group_id() {
            return attr_group_id;
        }

        public void setAttr_group_id(int attr_group_id) {
            this.attr_group_id = attr_group_id;
        }

        public String getAttr_group_name() {
            return attr_group_name;
        }

        public void setAttr_group_name(String attr_group_name) {
            this.attr_group_name = attr_group_name;
        }

        public List<AttrListBean> getAttr_list() {
            return attr_list;
        }

        public void setAttr_list(List<AttrListBean> attr_list) {
            this.attr_list = attr_list;
        }

        public static class AttrListBean {
            /**
             * attr_id : 2
             * attr_name : 红色
             */

            private int attr_id;
            private String attr_name;

            public int getAttr_id() {
                return attr_id;
            }

            public void setAttr_id(int attr_id) {
                this.attr_id = attr_id;
            }

            public String getAttr_name() {
                return attr_name;
            }

            public void setAttr_name(String attr_name) {
                this.attr_name = attr_name;
            }
        }
    }
}
